package com.service.gmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.service.gmall.model.product.BaseCategory3;
import com.service.gmall.model.to.CategoryViewTo;

import java.util.List;

/**
* @author alpha
* @description 针对表【base_category3(三级分类表)】的数据库操作Service
* @createDate 2022-08-22 22:45:59
*/
public interface BaseCategory3Service extends IService<BaseCategory3> {

     List<BaseCategory3> getCategory3(Long category2Id);

    /**
     * 根据三级分类ID查询分类
     * @param category3Id
     * @return
     */
    CategoryViewTo getCategoryView(Long category3Id);
}
